libxl: timeouts: Break out time_occurs
authorIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 31 Jan 2014 15:04:37 +0000 (15:04 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 6 Feb 2014 14:21:41 +0000 (14:21 +0000)
commit54f3f3850a8a34823d30591d13e658bbaa50232b
tree0644949634ca4c83a34af6a1794b8010f072498d
parent2920d6655a351e028591389a040a71039730788f
libxl: timeouts: Break out time_occurs

Bring together the two places where etime->func() is called into a new
function time_occurs.  For one call site this is pure code motion.
For the other the only semantic change is the introduction of a new
debugging message.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Jim Fehlig <jfehlig@suse.com>
Cc: Ian Campbell <Ian.Campbell@citrix.com>
Acked-by: Ian Campbell <Ian.Campbell@citrix.com>
tools/libxl/libxl_event.c